<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>智能订餐</title>
    <meta name="description" content="">
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui, user-scalable=no">
    <meta http-equiv="cleartype" content="on">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/assets/base/Inforschool/css/style.css">
</head>
<body>
<div class="wraper">
    <div class="min-height">
        <div class="header  font-white">
            <a href="javascript:history.go(-1)" class="iconfont icon-left font-white back"></a>
            <div class="font-16 text-center">订单详情</div>
        </div>
        <div class="clearfix">

            <div class="date pull-left font-12">
                <volist name="time" id="v">
                    <div class="boxs time text-center  border ">
                        {BEESCRM:$v}
                    </div>
                </volist>
            </div>
            <div class="right pull-left bg_white">

                    <volist name="data" id="val">
                        <div class="js_right padding-12 hide">
                        <volist name="val" id="value">
                            <div class="boxs border padding-0">
                                <div class="number_of_people border-left font-12">
                                    {BEESCRM:$value['yname']}
                                </div>
                                <div class="flex_between font-gray2 js_choose">
                                    <div class="name width-40 text-center font-gray1">
                                        中餐
                                    </div>
                                    <div class="width-60 text-center">
                                        {BEESCRM:$value['mfoodname']}
                                    </div>
                                </div>
                                <div class="flex_between font-gray2 js_choose">
                                    <div class="name width-40 text-center font-gray1">
                                        晚餐
                                    </div>
                                    <div class="width-60 text-center">
                                        {BEESCRM:$value['nfoodname']}
                                    </div>
                                </div>
                            </div>
                        </volist>
                        </div>
                    </volist>
            </div>
        </div>
    </div>

</div>
</body>
<script src="/assets/base/Inforschool/js/jquery-2.1.0.min.js"></script>
<script>
    var height = $(window).height();
    $('.wraper').css('minHeight', height);
    var header_height = $('.header').innerHeight();
    $('.right').css('minHeight', height - header_height);
    $('.date').on('click', '.boxs', function () {
        var idx = $(this).index();
        $('.right').find('.js_right').eq(idx).removeClass('hide').siblings().addClass('hide');
        $(this).addClass('bg_white js_visite').siblings().removeClass('bg_white js_visite');
    });

    $(function () {
        $(".date .time:first").addClass('bg_white js_visite');
        $(".right .js_right:first").removeClass('hide');
    });


</script>
</html>